//
//  StatusCell.h
//  lvtu
//
//  Created by Apple on 12-4-3.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EGOImageView.h"
#import "TripInfo.h"

@protocol StatusCellProtocol <NSObject>

//图片点击处理代理方法
- (void)touchUpDelCellButton:(NSInteger) index;

@end

@interface StatusCell : UITableViewCell
{
    EGOImageView* userImageView;
    EGOImageView* tripImageView;
    UIImageView* collectImageView;
    UIImageView* likeImageView;
    UIImageView* commentImageView;
    
    UIButton* statusButton;
    
    UILabel* creattimeLabel;
    UILabel* nameLabel;
    
    UILabel* collectCount;
    UILabel* likeCount;
    UILabel* commentCount;
    
    NSInteger m_index;
    
    CGFloat cellHeight;              //cell的高度
    
    BOOL isNeedLoad;
    
    id<StatusCellProtocol> delegate;
}

- (void)setImageViewCell:(RecommendTripInfo*) info;

@property (nonatomic, retain)EGOImageView* userImageView;
@property (nonatomic, retain)EGOImageView* tripImageView;
@property (nonatomic, assign)NSInteger m_index;
@property (nonatomic, assign)CGFloat cellHeight;
@property (nonatomic, assign)id<StatusCellProtocol> delegate;

- (void)delButton:(BOOL)isAdd;
@end
